Skip to content

fix(files): keep the view when reloading a file opened outside the files view - #65120

Open
skjnldsv wants to merge 2 commits into
masterfrom
fix/files-tags-reload
Open

skjnldsv wants to merge 2 commits into
masterfrom
fix/files-tags-reload

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

Reloading a file opened from the tags view jumped to its folder: ViewController::index() treats dir as a path, but the tags view puts the tag id there. The redirect now only applies to the files and personal files views (and links without a view), so recent, favourites and shares stop redirecting too.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

…les view

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv added this to the Nextcloud 36 milestone Oct 5, 2026
@skjnldsv skjnldsv self-assigned this Oct 5, 2026
@skjnldsv
skjnldsv marked this pull request as ready for review October 6, 2026 08:32
@skjnldsv
skjnldsv requested a review from a team as a code owner October 6, 2026 08:32
@skjnldsv
skjnldsv requested review from CarlSchwan, come-nc, leftybournes and sorbaugh and removed request for a team October 6, 2026 08:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reloading a file opened from the tags view jumps to its folder

2 participants